package com.hmy.monitor.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(
        basePackages = {
                "com.hmy.monitor.web",
                "com.hmy.monitor.prometheus.common",
                "com.hmy.monitor.prometheus.web",
        }
)
public class PrometheusWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(PrometheusWebApplication.class, args);
    }
}
